New dimming context and UI helpers for dimming and other enhancements.
Updated the bridge to handle a new dimming and value control context, $intensity.math{(X*1)} for custom calculations. Also, added helpers for generating URLS on the value contexts.Add testing and error pop ups where needed. Updated test methods for special PUT/POST calls. Cleaned up device.db file write to not keep junk around.Updated bridge to be robust on put/post calls and testing. Added body for off PUT/POST types. Cleanup code for variable usage. Remvoed dummy test classes. Updated UI header menu to not switch page to Home everytime.