Add version tag
Code style on CLI app
Miscellaneous changes

- PHPCS cleanup and code style consistency
- Define JPATH_ROOT since Framework uses it
- Add image method to Html