Ajax API for FeatureTypes

Implements #25