Add Composer support. Move core to purse-core. Add autoloading and PSR-4. Fixes #7. Fixes #8.