[WFLY-1517] using a ResourceAdaptor (rar) which has properties that use ...

...primitives as arguments will fail to deploy.

Can someone please check my contribution and (I hope) pull it in ? This was a regression in the JBoss EAP 6.1.0 release and I will have to back port this contribution to that version for a customer - so it's a bit urgent,