Several fixes to the WMS Capabilities parser

Make sure the object structure returned is not mangled by Closure

Do not use closure XHR or JSON in the example

Use Jasmine's async support in the test cases

Get rid of some backwards compatibility now that we have a fresh start
Merge pull request #204 from bartvde/wmscapsfixes

fixes for the WMS capabilities parser (r=@elemoine)