add createOffer to core.peerconnection

If you don't have the constraints argument type specified in the interface, freedom.js won't know about it, and the continuation will go in that first argument, rather than where you want it.