git repo and periodic interval configurable

made those configurable attributes and fixed the logic for
determining when to use the deprecated tools/dbsync script and
added pymongo when installing nova-api depends on it even if
not using mongodb.