Rename script to glance-image-sync so oslo can auto-resolve config file, and use oslo/glance OpenStack code for config/cli option parsing

Start moving into package structure

Import glance.notifier.notify_kombu so we get access to all the rabbit notifier configuration options

Use lockfile so we don't run multiple copies of script at a time

Cleanup imports (and add missing glance.store.filesystem import

Remove arguments (always run _sync_images/_duplicate_notifications) and add daemon option so we don't have to run through cron

- change a few imports (ie. just import sleep from time)
- add sleep() to while loops otherwise we peg CPU(s)
- revert back to grabbing glance-api.conf options from file directly
- make lockfile configurable
- update README to reflect some config options that should be set

Placeholder for tests

* Only lock when NOT running in daemon mode, and let start-stop-daemon etc. handle that
* Trap signals so that killing the parent process will clean up child processes also

RPM package work

Minor updates to SPEC file

chkconfig glance-image-sync on, but don't auto-enable

Initial debian package config, needs reworking

More changes to rules file, still need to find a way to keep service disabled upon installation

Update dependencies and drop in init script

Default to glance-image-sync being disabled

Some changes to address lintian errors

* Update email addresses
* Set --daemon flag in Red Hat init script

Default to running as glance user

Change default_lock to something a bit more sane

Fix sys.exit import
Merged in master
Merge pull request #6 from mattt416/cleanup_and_package

Cleanup and package