Bug 959123: Unable to restore Postgres snapshot to new application

https://bugzilla.redhat.com/show_bug.cgi?id=959123

This now iterates through all databases not owned by postgres or the
current user and changes their owner.
Added a cucumber test for this functionality.
Modified `client created application` to use a random application name
to help expose errors like this.