Adding JS Chooser for direction, role and type for members and relations

This is a part of the result of the HackWeekend Berlin. The advantage of this change is,  that the user now can choose the relation type, the direction and roles. After open the viewer for a point, segment or road the javascript reads the exisiting JSOM-OSM-Data of the page an add the controls in the detail window. The chooser is only available if there are more than one option. First, all types, directions and roles are active, iif the user change the options the layer will be readraw.