Add getType/getDefaultIdType from connectors

/to @ritch 

This is a fix for https://github.com/strongloop/loopback-datasource-juggler/issues/58