Cleaned up WmsLayer and fixed maven dep scope