dependency_ubuntu.py: Resolved pip install issue - needed to cd to user home directory for easy_install to work correctly. Assorted other bug fixes applied as well.