Fix sorting in admin/nodes#index

MongoMapper requires a real object id when performing set operations.
This also fixes sorting for content templates and page templates.
Merge pull request #151 from Oktavilla/fix-node-sorting

Fix sorting in admin/nodes#index