Correct CORS request detection for endpoint with specified port
Improve object detection for cross browser support
Fix test template to include 1.0.0 and correct 0.9, syntax fixes for IE
Build 0.5.6