updating swagger and swagger-ui to v1.1.7, updating handlebars to 0.11.0, removing previous policies when uploading new ones, improving policy interface in dashboard