Add tests. Apply psr-2.

**generic**
- [x] Travis configuration/ documentation
- [x] PSR-2 coding standard
- [x] remove redundant code

**integration tests**
- [x] `Deprecated/Functions`
- [x] `Deprecated/Methods`
- [x] `Deprecated/RegexpEModifier`
- [x] `Extensions/MySQLConstants`
- [x] `Extensions/MySQLFunctions`
- [x] `PHP/ForbiddenClassNames`
- [x] `PHP/ForbiddenFunctionNames`