Merge pull request #1 from sdh16/develop

Merge changes from develop branch
Merge pull request #2 from sdh16/develop

Merged Develop to Master - disabled refresh when tab with device tiles not in focus
Merge pull request #3 from sdh16/develop

Merge changes from develop branch - Initial implementation of lights and setup tabs
Merge pull request #4 from sdh16/develop

Merge changes from develop branch - Implemented remaining tabs with live tiles
Merge pull request #5 from sdh16/develop

merge changes from develop branch - made some code optimisations
Merge pull request #6 from sdh16/develop

merge changes from develop branch - can now switch on/off lights from lights tab
trial using MetroJs
changed path of domoticzmetrojs in indexmetrojs
basic tiles migrated to metrojs
basic tiles functioning with metrojs
aligned tiles to right in the groups
added today counter to energy devices on dashboard
solved appbar icons issue
initial work on tile refresh excluding dashboard group
aded tile dragging and sorting
made metrojs files as default config
changes to tile grouping
minior tuning and corrections
added jsrender
added jsrender to index.html