Strip trailing spaces from Controller.js
Only require modules as needed by controllers, faster load time

Stop loading EVERYTHING at the start of the controller. Just load what
we need as each of the actions happens
Remove trailing spaces in App.js
Only load the bits of foundation we need
Fix permissions fieldset icon and remove debug code in PostModel
Minor change html comment in post detail
Fix post action buttons on post detail

Add js- classes that we're using for events
Use js-post-delete classes for delete actions
First cut at post edit form & populating form with real info

* Replace much of the edit view with real data
* Remove fancy input field swapping code
* Hide bits of the edit for we can't handle yet
* Update create post to share classes between create and edit
* Convert spaces to tabs in edit/create html
* Fix styling on fieldset switching buttons
Make location editor start with correct location when editing
Make editing post tags work

Store related models as IDs only in backbone. This matches the format
that backbone-forms uses and so tags select will now work.
Hide user fields on models where user is already set..
Hide 'lock' icon on posts list
Return post datetime fields in a JS compatible format
PostDetail display tweaks

Remove link from location display.
Use file icon for published/unpublished, no the lock icon
Make map and post detail views update when model changes
Better handling of server errors in create/edit post

Catch any errors that get thrown by the server and display an alertify
message.
Also drop the errors to the console.
Catch errors from model validation that are for some reason not always
caught though form validation. Show alertify and drop object to console.
Improve Location Editor value handling

Move the marker creation and map panning into setValue().
Switch user fields depending on if user is defined yet.
Fixing jshint errors