Added new example: cached_code_main.py

- PEP8 fixes
- Support for caching in build_dir for compile_link_import_strings
- Updated requirements.txt for running all tests.
- TST: Tweaking travis-ci build.