Updated README file and removed dead code.
Updated composer.json.
Added $callback parameter to RestGallery::connect().