form validation

Added function to hide and show divs based on selections.  Added
validation functions for image and text fields
added javascript validation to controller

added JavaScript Strings to controller for add/edit block form
form validation.

added form id's for form validation and function to hide/show div based
on selection