Drop peer dep on loopback; add a runtime check

Replace peerDependency with a run-time check based on
`app.loopback.version`.