Small refactoring of helper functionality.

moved filesystem navigation from compile_settings to common lib
removed temporary hardcoding of library paths in kernel.rs
renamed common::data -> common::state
renamed compile_helpers -> tool_helpers
renamed compile_settings -> tool_settings