Merge pull request #12 from dnadesign/apply_extensions_via_config_yml

Apply extensions via config yml instead of static context
Avoid direct querying where possible, replace with calls to Versioned::get_by_stage()
Merge pull request #2 from dnadesign/avoid_direct_querying_where_possible

Avoid direct querying where possible