Moved all click functions over to using namespaces

This will fix memory leak issues we were having on data tables being reloaded
Delayed loading of GA until after the page has loaded + 500ms

This should mean that we never wait for GA to load before the user can interact
Fix upgrade_master  script to use new www location
Fix user_properties table, add missing index, allow cascade delete/update, add support several properties per user
Merge branch 'fixes' into staging