RESTful endpoint for device metadata import

Done for https://issues.jboss.org/browse/AGPUSH-943
Okay, let's forget it, as I said not big deal