Speed Optimisations

1) Loading of current state and current config happens once per load now.
 - Loaded in DIM_BASE constructor
 - Reloaded when written to
 - all classes that extend DIM_BASE call parent constructor
2) Query processing only happens IF client mode and checked out

Leads to speed improvements

Signed-off-by: David Anderson <dave@veodesign.co.uk>
Merge branch 'master' of github.com:davjand/database_integration_manager