Commits for review: Add php Error Reporting Functionality to PMA (Rebased)

*In continuation with Pull#1207.*
**Things Done:**
 - [x] Rebasing with upstream. (There were few conflicts which I had to resolve.)
 - [x] Some displayed message improvements.
 - [x] Found & stopped one more false alarm.

**~~Things yet TODO:~~**  *Done now*
 - [x] Remove inline JavaScripts as suggested in [Pull#1207](https://github.com/phpmyadmin/phpmyadmin/pull/1207#discussion_r13531075).

~~Will push **TODO** changes soon.~~ *Done now*

Till then, kindly review other parts. :smiley: 
Is it really needed to have separate code paths for both submissions? To me it looks like the code should be same. The rate limiting makes sense for javascript errors as well as those can happen during submission.