Add tests. Apply psr-2.

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