arrange form in add layer popup
qunit, jsmockito
add wms capabilities
make URL Format pluggable
add WFS Capability

not sure working correctly..
temp