Fixed the custom page size bug due to patches provided by Qt 5.3. A
conditional compilation statements were added on portions where the
custom page size is used. This way the code can be build on any Qt
version but the fix will available only on 5.3

The new object overlay can be closed using the ESC key.

Minor fix on the Linux deployment script
Merge branch 'custom-page-size-fix' into develop