Update swift charms to deploy properly without _id defined

Issue in the charm setup where if _id wasn't defined and we override
setup then the gui polling would traceback b/c of undefined _id.

Some pyflakes cleanups in this commit as well.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>