User Module initial PR

Warning 42 commits ahead.

<!---
@huboard:{"order":69.75,"milestone_order":2.4375,"custom_state":""}
-->

We will have to review everything in the lib. I think most of them have been moved to the module and controllers