add the QCustomEvent class for event delegation
remove the duplicate <?php ?>  tags
fix the multiple ajax action bug by adding an AjaxActionId
change arTmp to arrTemp
add some comments to reflect the purpose of the changes in QFormBase
rename QCustomEvent to QJsDelegateEvent
fix some code style issues
rename QJsDelegateEvent to QOnEvent
Fix QTypeTests test

The value expected was mistakenly written as a string. Made it an integer, as expected.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/feature-QOnEvent'
Report the number of failures and exceptions

In order to indicate the broken tests.
The 'Fail:' string is added for failed tests
Fix for return code
Removed unnecessary shell string
QForm html-code not outputted in the cli mode
Passed tests are not displayed, only failed.

It is hard to find failed tests in travis-ci build log with a miriad of "Pass:" lines.
Merge branch 'master' of github.com:olegabr/framework into bug-QTypeTests
Environment for pgsql test is added

The source of this approach: https://github.com/ds125v/moodle-travis/blob/master/.travis.yml
I've modified it slightly to simplify the 'sh' usage and new databases addition as a result.
The qcubed examples sql script for PostgreSql database

This script was originally created in the feature-Composer branch.