Validation consistency

- introduced validation method in the post and user model
- moved signup validation onto model
- consistent use of validation & error messaging in the admin UI
- helper methods in base view moved to a utils object
Agressive stripping of the model attributes

- fixes #517
- prevents this from occuring again in future with other relations
- validation function & stripping done for all models
- casper test for flow, plus validation & logged out tests
Downgrade bundled version of jQuery to 1.10.2

Closes #532
Merge pull request #523 from ErisDS/validation

Validation improvements
Fixed another CodeMirror syntax highlighting bug
Move pagination to class rather than ID

Pagination could conceivably be used in more than one place on a page (eg. both top and bottom). For that reason it should probably have a class rather than an ID.
Merge pull request #536 from JohnONolan/pagination

Move pagination to class rather than ID
Additional validation / API error consistency fix
Standardising notification types

 - CSS classes directly correspond to notification 'types'
 - Error, warn and info are reasonably standard terms for descending priority 'log levels', using these to denote red, orange and blue notifications.
Added CasperJS Functional Test to Build

Fixes #363

- Added new grunt task to run casperjs tests.
- Added prerequisites (sass/bourbon/casperjs) to travis config.
- Updated failing functional tests to use more robust `waitFor`
statements.
- Updated capserjs `base.js` file to use a password which conforms to
our 8 character minimum.
- Added necessary logout to first test and also registration step to
ensure a user is present in the system.
Merge pull request #542 from ErisDS/notification-types

Standardising notification types
added url handlebars helper

closes #528

- adds method (isPost)to models index.js that returns true if content, content_raw, title and slug are valid properties
- adds url helper which checks context is post using  isPost method
- adds unit test to check a url is prefixed with  /
-adds unit test which checks for empty string if either of the 4 properties above are not present.
Improved dropzone

- Made fail warning and button display none to reduce DOM content.
- Made toolbar red for fail not orange
- Fixed loading-cat  which was persistent in cases of low bandwidth (particularly downstream)
Merge pull request #533 from JohnONolan/jquery-downgrade

Downgrade bundled version of jQuery to 1.10.2
Merge pull request #541 from cobbspur/helpers3

added url handlebars helper
Included jQuery Source Map

This stops console errors asking for the file.
Improved Modals transitions

This also includes a new jQuery function to get the transition duration of an element.

Modals animations now start when `.in` is applied to the modal container.
Merge pull request #551 from matthojo/Source-Map

Included jQuery Source Map
Add RSS Feed

Issue #366
- adds node-rss dependency
- adds /rss/ and /rss/:page/ routes which return XML RSS 2.0 feed
Merge pull request #543 from gotdibbs/Issue363

Added CasperJS Functional Test to Build