Pass metadata and key to #shareResource
Pass identity to connection

Peers are able to identify who are trying to connect to them
Add functions for sharing, requesting data etc
Attach peer-connection open event handler before instantiation of Connection object
Move out resource data request listener to external lib
Use new events system
Merge with origin
Remove exposed ondata method
Incoming data requests trigger onconnection
Merge with new event stuff
Bubble up 'share' and 'connection' events on Peer
Merge with origin
WIP: Connection handlers bubble up request and resource events
Make use of new bubble functionality
Fix incorrect event name
Use rymd-logger
Attach metadata when sending a Resource
Change handling of listening to 'resource' events
Merge pull request #1 from rymdjs/feature/share-resource

Share Resource