FIX for app.middleware should have Handler istead of empty function, also
settings in the built-in models are not array of ACLs which they should
be. PersistedModel is also not extending Model.
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
* beta typed for loopback
* loopback typings
* fix name test in tsconfig
* test loopback
* normalized class
* loopback typings
* loopback typings fix interface and lint
* loopback typings fix interface and lint function type