added apikey to the client constructor
sending object to server and retrieving updated plugin
added nullcheck and check on error code
added error handling for exceptions
Merge pull request #7 from IrradiatedGames/implement-add-plugin-method

Implement add plugin method