JS library: add optional error param to send_{method} callback
Set version to 1.0.0-dev.zedge-20141205