Dashboard menu with better support for mobile devices

Refactored former pull request to have the code more in line with de modular design of emoncms