Removed unless config options in new(), moved viewable state id and lock id lookups to backend module.
Removed unless config options in new(), moved viewable state id and lock id lookups to backend module.

djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test