core: DB - Insure that there are no null values...

DB - Insure that there are no null values for entity_type column in vm_static before forcing it to be not NULL

Adding update all records that are not marked as 'VM" to 'TEMPLATE'

Change-Id: I8a149d55f6c4a4900f12f9b96c6f1c2368697498
Signed-off-by: Eli Mesika <emesika@redhat.com>