Hardware module

Moving controllers to modules for easier extending of mr
Change physical_memory to int
Fix index.php for php < 5.3
Fix machine_info for intval physical_memory
Add memory widget
Fixed hardware controller
Merge branch 'hardware-module'