Add a test for the importusers widget, maintenance widget, manageuser widget and improve CasperJS logging

New tests for:

- importusers
- maintenance
- manageuser

Also part of this PR is improved logging (mainly colours and layout).