Merge pull request #5 from atrniv/master

Support for buffers and added missing callbacks this commit also fixes #4.
Version bump and API updates along with bugfixes and documentation updates
Merge pull request #7 from atrniv/master

Throw an error if the file id is not found.
Added option to use publicUrl over url.
Fixed bug which caused _assign to fail.