temp workaround for null values
sql->hql refactoring
getApplicationByHash method()
fix empty table case
added appstore entities
jaxb xml parser, some hql fix