new sfepy/base/resolve_deps.py - functions for resolving dependencies

- new get_nums(), solvable(), remove_known(), try_block(), resolve()
update tests/test_base.py: new test_resolve_deps()