removes id lookup for page, and adds a path helper of sorts.
adds xhr image uploading via mercury.
updates mercury.js configuration to properly use image uploading (when enabled).
Merge pull request #34 from modeset/rails4-rebase

Rails4 rebase