Merge branch 'Aupajo-install-formatting'

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1323 b12a1112-ca08-e5dd-f792-535eff3abf3b
Merge branch 'master' of https://github.com/soundasleep/openclerk

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1324 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #147: enable Coffeescript compilation from js/*.coffee to js/*.js

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1325 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: allow moment.js to be loaded and minified in the live site - testing with npm, grunt, uglify etc

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1326 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: fix package.json not defining grunt-usemin

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1327 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: initial work on rewriting historical graphs to use new graphing framework
- a new Graphs.render() framework, moving the rendering logic into Javascript rather than server-side
- graph results which can be cached through cached_strings table
- a new API, api/v1/graphs/graph_type

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1328 b12a1112-ca08-e5dd-f792-535eff3abf3b
fix failing testAllIncludesExist test

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1329 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: experimenting with new GraphRenderer framework
- render BitNZ ticker values directly from database
- allow clients to load client strings for each locale in Javascript
- define Locale.formatTemplate Javsacript to format locale strings

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1330 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: supporting rendering of all ticker graphs

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1331 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: apply deltas to rendered graphs

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1332 b12a1112-ca08-e5dd-f792-535eff3abf3b
move localhost checks to is_localhost() function
render better JSON error messages

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1333 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: support rendering technicals on ticker graphs

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1334 b12a1112-ca08-e5dd-f792-535eff3abf3b
fix "Use of undefined constant JSON_PRETTY_PRINT" warning on PHP < 5.4
include inc/classes/ in test file searches

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1335 b12a1112-ca08-e5dd-f792-535eff3abf3b
move GraphRender classes into autoloaded classes

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1336 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: replace historical graphs with new graph rendering code

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1337 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: calculate graph dimensions correctly
limit graph days to valid values

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1338 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: render graph render time for admins
move graph CSS to separate include

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1339 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: re-fix Chrome rendering bug, where overflow is accidentally triggered

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1340 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270, issue #147: allow site scripts to be minified and served as necessary
restructuring node_modules/ serving; instead of serving from ../node_modules, serve from js/node_modules instead

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1341 b12a1112-ca08-e5dd-f792-535eff3abf3b
issue #270: enable new graph rendering on market averages page

git-svn-id: https://openclerk.googlecode.com/svn/trunk@1342 b12a1112-ca08-e5dd-f792-535eff3abf3b