Do not change the position when changing the number of rows
Merge pull request #445 from scnakandala/gsoc_2013

functions in the tbl_relation.php added to a new file tbl_relation.lib.php
Use $GLOBALS for cfg
PMA_hasNoRightsToDropDatabase, PMA_isDeleteTransformationInfo, PMA_isJustBrowsing, PMA_isAppendLimitClause, PMA_isRememberSortingOrder methods added to the libraries/sql.lib.php
removed unwanted comment
wrapped lines