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.
Fixed a copy-n-paste error
Using getenv instead of the $_ENV variable.

The $_ENV variable is empty on my local machine in cli and normal mode and on a travis-ci server too.
The jquery version updated from 1.7.1 to 1.7.2
Merge pull request #146 from olegabr/feature-111

The jquery version updated from 1.7.1 to 1.7.2
Merge pull request #142 from olegabr/feature-80

Feature 80
The QImageControl and QImageLabel are forced to have a limit of 255 for file name length.

* It fixes issues #92 and #152
* The example of QImageLabel is changed to use CacheFolder property.
* The exception is throwed if the CacheFolder is not specified and the resulting file name length exceeds the 255 limit.
The "Problem in nested qdatagrid" is addressed here

See the http://qcu.be/content/problem-nested-qdatagrid for the problem explanation and the original patch.
With all the bugfixes merged in, the generated  type-table code was broken.
Merge pull request #221 from olegabr/bug-152

The QImageControl and QImageLabel are forced to have a limit of 255 for ...
The issue #224 (Examples using QImageControl are broken) is fixed
The new system-wide cache folder added for images,

produced by QImageControl, used in a complex qcubed controls.
Merge pull request #225 from olegabr/bug-224

The issue #224 (Examples using QImageControl are broken) is fixed
The #227 issue is addressed

(The color of datagrid header and header on the error-dump page is out of new qcubed theme)
Merge pull request #228 from olegabr/feature-227

The #227 issue is addressed
The #229 issue is addressed

Missing htmlpurifier 4.4.0 files are added
Merge pull request #230 from olegabr/bug-229

The #229 issue is addressed
Merge branch 'feature-111' of github.com:qcubed/framework
Merge branch 'feature-80' of github.com:qcubed/framework