Christian&Alexey: Added code to handle multiple applications and poly pages in json patch handling and creation.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop