Refactored codebase of dockinstall/install.py

- Refactored the codebase of dockinstall/install.py
- Fixed pep8 and flake8 warnings and errors
Merge pull request #10 from swordphilic/develop

Make it pep8 & flake comptible with code cleanup.