Add language selector to the docs&primary-nav

Add language selector,and change twitter to weibo because we cann’t
visit twitter at china :(
This file should be in the last commit
Remove console.log in view function

There was a console.log in view function to show the
req.session.currentLanguage for debug,not need it anymore.
Adds appversion rendering to footer
Handle undefined boolean update values.  Explicitly check that the new update value is actually false before setting the item path to false thus potentially and unintentionally overriding the established item path default value.
Merge pull request #771 from webteckie/master

Handle undefined boolean update values
Merge pull request #761 from d-pac/appversion

Adds appversion rendering to footer
Improving password field validation

Now takes into account _confirm path
Allowing direct setting of password fields without auto hash
fix s3File fieldtype bug. Change 'file.type' to 'file.mimetype'
Fixing error log in embedly field w/ invalid config
Merge pull request #780 from r3dm/fix-s3

fix s3File fieldtype bug. Change 'file.type' to 'file.mimetype'
add ca to ssl config
add ca to ssl config
add ca to ssl config
Merge pull request #788 from snowkeeper/sslCA

Add CA option to SSL configuration
Fixes #787 (error thrown without user list registered)
sync with upstream
Add `static options` option - closes #763
Merge pull request #798 from sebmck/static-options

Add `static options` option