Merge pull request #59 from cobaltcrm/master

Master
Define the version number via a constant, replace getVersion logic
Make the entry point compatible with pre-PHP 5.3, just in case...
Merge pull request #60 from cobaltcrm/getVersion

Modify how version is set and retrieved
Search box at Deals list formated
jQuery dataTables JS, CSS and images added, loaded to boostrap theme
jQuery dataTable initialized globaly to any table with class="data-table"
jQuery DataTables are displayed at deals list view. (no other actions implemented yet)
not working UsersHelper::getUserId() replaced with working User->get('id')
UsersHelper::getLoggedInUser() made simple
UsersHelper::canExport() made simple
Ups, this controller should be part of previous commit about dataTables...
UsersHelper::canDelete() made simple
Use Joomla\DI in place of League\DI
Merge pull request #61 from cobaltcrm/DIswitch

Use Joomla\DI in place of League\DI
JS Validation

- Fixed 2 click validation problem
Merge pull request #62 from juliopontes/staging

Install JS Validation
Added option of jQuery dataTable field template (at Deals list view)
Merge remote-tracking branch 'upstream/staging' into staging
DataTable ordering at Deals list view