Fix locale problems

So in this patch I have fixed problem where fallbackLang was undefined
and navigator language problem.

I have also change the way how we use underscore and hyphen since
language code should be hyphen not underscore.
Merge pull request #984 from alicoding/fixLangProblem

Fix locale problems
Update doc for localization support
Fix $LOG_LEVEL env var, and add $LOG_FILE env var
Merge pull request #988 from alicoding/updateLangDoc

Update doc for localization support
Compatability with marked 0.2.10 and docco 0.6.3.

The <h1> tags in marked 0.2.10 contain the `id` attributes which we were
manually adding in the grunt `addHeaderIds` function, causing the match in
`parseMarkdownOutput` to fail (and grunt to crash).  Allow <h1> tags to
contain (simple) attributes.

In docco 0.6.3, the `docco.parse` function added an optional `config`
parameter, but docco crashes if you use the default value.  Filed and
patched upstream in https://github.com/jashkenas/docco/pull/291 -- but
work around this for now by passing `{languages:{}}` as the third
parameter (which is safely ignored in docco 0.6.2).
Merge pull request #1006 from cscott/grunt-fixes

Compatability with marked 0.2.10 and docco 0.6.3.
Fix grunt builds to non-default destinations.

The `build` and `csslint` targets were using "build" as the destination,
even if a different one was specified on the command line.
Merge pull request #1007 from cscott/more-grunt-fixes

Fix grunt builds to non-default destinations.
parameterize closing notifications
add bower distribution
update client dist for dev.onvelocity.com
update client dist for dev.onvelocity.com
update client dist for dev.onvelocity.com
update client dist for prd.onvelocity.com
publish with auto-detect on
updating for ww0v prd
updating for ww0v prd
updating for ww0v dev
merge with upstream