Fixed #3709: Refactored cc.Screen to support all browsers

Tested on Safari / Chrome / Firefox / Opera, firefox and opera doesn’t take count of exitFullscreen function, all other functionalities works well