Updates and improvements 

fixes for related content and datepicker. Fixes bugs for textarea, add custom capability_types support