Convert lib files to model concerns
Fix rubocop warnings
Fix new rubocop warnings
Fix most auto-correctable rubocop issues
Cleanup trailing whitespace
Added a consistency check that both ids are valid and match. Fixed diff upload code where this wasn't being set.
Moved changeset consistency checks to library code.
Fixed bug in changeset idle timeout. Fixed another with a spurious require.
Error message for version mismatch is now more informative.
Creating consistency check for creation of nodes, way and relations. Moving some creation code from the controller to the model, and adding error handling on create errors.
moving the check consistency to it's own file so that checks will be able to be loaded into the way and relation models, without loading the node stuff.