use new get_version for setup.py
small fixes to staging directive parser and dict utils