Add support for client authentication

- Add JSON attribute behavior
- Add support for sending mail using Yii's swift mailer implementation
- Refactor migrations (clean db required)
- Change to use datetime fields instead of timestamp fields
- Update README