Nesting and more Resources

* Fix a base class for all controllers.
* Merchant, Customer, User, Language and Currency resources