#BEER-1 added AJAX function to retrieve type-specific subtypes
BEER-1 added subtype selection implementation
BEER-1 added javascript variable prefix, that gets the value of webroot
BEER-1 added methods to retrieve type subtypes
BEER-1 added controller for ajax methods
BEER-1 improved comments