Move getFeatureFromKeyParam to core

Creates getFeatureOr404 in scalatra calsses to replace it