update composer.json to reflect the new structure

This pr fixes the ``composer.json`` to follow the new structure. By the way, could you check and merge the pr #60. I have some others that depends on that.
Also please enable travis-ci for this project at travis-ci.org. 
Thanks