WP-1254 adapt get policy

http://jira.webinos.org/browse/WP-1254

getPolicy API method adapted to work with policies with devices