Add validation from schema.js

closes #1401
- added data/validation/index.js
- added generic validation for length
- added generic validation for nullable
- added validations object to schema.js for custom validation
- removed pyramid of doom from api/db.js
Remove useless regex for redirecting /ghost -> /ghost/
Fix Firefox <select> height issue

closes #1109
- Use moz-specific selector to make <select> elements use auto height
Respect subdirectory in authenticate middleware
Updated pageUrl helper to page_url

issue #2216
Fix importer adds the same tags to every post

fixes #2234
- updateTags used tags that were overwritten by an async operation
Update delete post button labels

Closes #2027
Update delete all content button labels

issue #2027
Custom Page Templates

fixes #1969

- creates new ./server/helpers/tempalte.js method
 which returns the correct view to use when rendering

- updates fronted controller to check if a custom page template
 exists and if so then uses that to render the static page

- adds additional class name to body_class helper when
 a custom page template is being rendered

- adds tests to address all new features
Update package.json for publishing to npm

address #2078

- removes private: true flag from package.json
- created .npmignore file and moved all of buildGlob
 file patterns into here, negating all patterns as
 the npmignore file defines what is to be excluded
 and not included.
- gruntfile now uses the inverse of the .npmignore file
 to define what files to include in a release
Fixes client side bio character counter.

closes #1432
Fixing config unit test for Windows
Cleaning up unused blocks
Change fallback from address to webmaster@[blog.url]

This change is needed because the previous default of the user's email
address is too often mismatched against the site domain, triggering spam filters.

Fixes #2145
- added `fromAddress()` to GhostMailer to handle this logic
- added unit tests to `mail_spec.js`
Renamed client-side admin url helper

fixes #2254

- includes test
/ghost/reset/* should not redirect to signin

fixes #2257
Cleanup naming & order in admin controller

no issue

 There seemed to be no convention or order to the functions in the admin controller, so I have:
 - organised them
 - reordered them
 - added a small doc-block
 - reordered some routes
 - updated tests accordingly
Fix problems from importing 0.4.0 file

fixes #2244
- added mysql ‚true’/‚false‘ values as ‚0‘/‚1‘
- removed all core settings from import
ReadMe Improvements

SEMANTICS ALL UP IN THIS WHAT
Implements the #has Block helper

closes #2115
- Added new #has block helper
- Added several tests for #has helper