fixing undefined originalEvent
adding a compatibility.js as a single source to define all fallback function declarations
fixing eventsource.js for IE8
adding prototype trim as fallback for IE8
fixing javascript errors IE8 in user management
Merge pull request #1682 from owncloud/fix-ie8-master

Fix ie8 master