Create reports directory if it does not exists
For now add explicit compatibility layer in compat module.

Also add _collections to the list of indexed builtins.
Add utility parent_directories function
Use tmpdir py.test fixture for parent_directories testing