RESTful endpoint for device metadata import

Done for https://issues.jboss.org/browse/AGPUSH-943