Check for existing session in swid inventory view

Show an error message when viewing the inventory view for a device that
has no sessions.

Fixes tnc-ba/strongTNC#158.
Added missing load statement
Added swid measurement controller
Added software-id field to model and updated swidimport command
Improved bulk create for tags / files / sessions
Raise an exception on import if a tag has no tagcreator