Adding documentation and reformat it a bit

By adding documentation to every method it's more readable. Besides that, every IDE will allow auto completion by adding PHP doc. I reformatted the _rpcCall a bit to make it more readable.
Merge pull request #15 from piwi91/master

Adding documentation and reformat it a bit