Bring up to speed

I've changed quite a few things:

- Changed the project directory structure to a more PSR-2 style
- Split the classes into separate files
- Use Composer for dependencies, added PHPUnit as a developer dependency
- 100% test coverage for ``Regex`` class, then did some pretty major refactoring.

I thought you maybe might like to try your hand at writing the rest :smile: