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.
Small whitespace change in the html-code generated.
Fix for jquery width and outerWidth API

This allows display settings to be applied before other control-specific javascript code is executed
It is important if control was hidden and is now appearing to be visible, and
the control or any of it's childs has a javascript code that depends on jquery width or outerWidth API.
In this case the control should be made visible (display: any-non-hidden-value) first and only then
the jquery width or outerWidth API can be used.
The same patch is applied as was done by @vakopian for the QDatepicker class.
The jquery css is moved to the bottom of inclusion list.

In order to make ui-themes workable, move the jquery.css to the end of list.
It should override any rules that it can override.
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 branch 'bug-190' of https://github.com/demike/framework
Merge branch 'master' of https://github.com/qcubed/framework
Merge branch 'master' of github.com:olegabr/framework into bug-SpacesFix
Merge branch 'master' of github.com:olegabr/framework into bug-jqWidthFix
Merge branch 'master' of github.com:olegabr/framework into bug-QDatepickerBox
Merge branch 'master' of github.com:olegabr/framework into bug-jquitheme