modules use integer values to enumerate js_mandatory state
database abstacts fdb.DatabaseErrors
repo uses common-folder
fixes in module handling failed isntallations. and js_mandatory is in metadata