Added api controller and http request/response object
Updated docs, added 405 not allowed
Merge branch 'feature/issue3-restapi' into develop
Added all() catchall api method
Added options to primary_nav helper
Video embed returns nothing if falsey url given
Make sure environment is updated properly if env set
Fixed issue where global view variables override local in partials
Added partial function to api, to allow partials to be ajaxed
Added JS trait, Move trait init out of before(), reference view in controller
Added CDN to javascript trait
Corrected view error message
Fixed serialization of objects to json and handle html and plain returns
Read vendor script paths from .bower.json
Made script extensions optional

- If script ext specified, it is left as is. i.e the .min.js is not
added
- This is so that if we use vendor scripts who don't follow that .min.js
  scheme, they can still be referenced without modification.
Check multiple bower files when loading manifest
added missing utils trait
Added text auto git attribute
Fixed write context PHP error
No need for menu class on primary nav without modifier