Update ol
http://github.com/openlayers/ol3/commit/23e1e6e0f4b5be06a2d8c7a30d8403b3975fdeb8l
Use the new ol.format.WMSCapabilitie class in ImportWMS
Test