bug fixes for issues 152, 151.

Still need to add foreman scope to in charge dd list in crew. Also not yet restricting to scheduling days by available resources. Building daily brief report, about to start writing stored procedure to retrieve task list with dynamic columns. After this will do day sorting in planning view.

need to rewrite Main form view file as abstract base class with 4 subclasses for create and update in both modal and non modal or potentially split modal and non modal into abstracts as well

shift common js functions into a js file
re-structure generic and remove commons switches - possible factory method
unit test - better later than never

logging/audit scenario

selenium functional tests.