Cleanup of API interaction code.
Improved loading of regions from Core Data.

Creates new machines if they do not already exist in Core Data. Helper
for model fetch request generation.
Moved loading of all Regions to Core Data.
Load locations/events for the current region only.
Ignore workspace userdata
Fixed bug where machineCount would not be set.

With the new API numMachines does not exist. Now we just count the
number of items in the machines key. Added region name predicate when
sorting locations to ensure that there results are only for the current
location.
Clear region data when reloading a region.