Update to rails 4.0.2
Use a table for tags

Fixes #595
Refactor generation of object metadata in API calls

Factor out duplicate from the object models into common code.
More refactoring of common code in object models

Tidy up code and extract generation of tag elements to the
common code in the ObjectMetadata module.
Unconditionally unbind moveend event

Can't rely on checking location.pathname -- inside unload,
it already contains the new path. Fortunately, checking is
unnecessary.

Fixes TypeError: Cannot call method 'split' of undefined.
Position on notes correctly when a link to a comment is loaded

Links to note comments in the RSS feed have a #id on the end to
position on the right comment, so don't let those hash strings
stop the map from panning to the note.

Fixes #603.
Fix OldRelation.tags
Add tests for tag methods on object models
Update i18n to fix bogus deprecation warning
Add tests for node methods on way models
Add tests for member methods on relation models
Simplify a number of object model methods
The value of mapParams.object is always a node/way/relation now
Always use controller computed zoom when starting Potlatch

The value of mapParams.zoom may have come from the cookie and be
unrelated to the actual view the user came from with this click, so
just use the default zoom set by the controller.

Fixes #621.
Use the map layout when rendering index for a remote edit
Make remote edit work when /edit is loaded

Change detection of the edit request to use the URL as the class
will not be set on the body now, and force the router to think we
actually loaded the normal view.
Test get_nodes_undelete methods of the OldWay model
Report an error if a bogus limit value is passed to a notes API call
Extend API to allow changesets to be queried by ids

Make changesets queryable by specifying a list of ids, for example:

    /api/0.6/changesets?changesets=1,2,3

This condition may be combined with others in the normal way.
Remove object parameter from share URL

Fixes #616
Fixes #624