Added composer.json. Fixes #32 and #38

Signed-off-by: Alex Bilbie <alex@alexbilbie.com>