WP-1261 policysets and policies order

http://jira.webinos.org/browse/WP-1261

Policy editing: fixed insert position of new \<policy-set\> or \<policy\> in policies with devices.

Please merge only after WP-1271: https://github.com/webinos/webinos-policy/pull/64