fix beforeDestroy and afterDestroy hooks not trigered if called with destroyById

fixes:
https://github.com/strongloop/loopback-datasource-juggler/issues/202
https://github.com/strongloop/loopback-datasource-juggler/issues/142

Thanks to @jcsmesquita