Refactor validator and mapping.

- Use raw* for everything not transformed to JSON
- Add config file generation part
- Use Q
- Adjust Travis config with credentials and hipchat notification.