Created professions javascript file to contain related functions

Created professions javascript file to contain related functions,
created simple hire and fire functions for each profession. Hiring and
Firing farmers works, however the other two do not. Work on that next.