Adding folders and devices via REST API

A post was split to a new topic: Automatic handling of new devices to be shared in a folder