Hide the password tab if the used didn’t sign in with local authentication
Using an id rather than first-child to display the correct preferences tab

Also updated the preference test to assert that the preferences panel is
always displayed when openening the modal
Limit visibility/email options selector in the manageuser widget
Install CasperJS through npm on Travis
Merge remote-tracking branch 'simong/hide-password-tab'
Minor clean-up
Merge pull request #3818 from bp323/issue-3818

When changing the profile visibility of a user in the manageuser widget the email options become unselected
Merge pull request #3819 from bp323/npmCasper

Install CasperJS through npm on Travis
Don't show tab container to avoid erroneous whitespace when not signed in with local authentication strategy
Fixed CasperJS test for preferences widget
Merge branch 'master' into doublespaces
Check email bundles for whitespace as well
Merge pull request #3820 from nicolaasmatthijs/doublespaces

Added test for double whitespace
Merge branch 'master' into restorerevision