(Properly) Add Composer support

Fixes #52 and #58. How does this look @shadowhand?