API support for creating machine location
Update machine condition support.

Once the user updates the condition of the machine the UI will update
to reflect the changes.
Update location related data.
Support for location types.