Prepare function calls for ancestor traversal

move the meat of the class into a get_imports function so that it can recurse upwards through multiple partials containing @import statements.

TODO: change the arguments to current_path, target_path, chosen_setup and modify the function to remove self.view.find_all()