2 bug fixes. pins on map now properly create a url for display_device which includes new parameters for current tab and selected daterange. edit_device_page in views.py now accepts the deviceid rather than the hash for performing lookups, and likewise the edit_device_page url now includes the deviceid rather than the hash. also added missing exception handling to edit_device_page which returns a device_not_found.html for invalid mac addresses