Modified the function for checking if a hazard num already exists, this was necessary because deleted hazards are really just 'inactive'.
Risk category and likelihood moved from Hazard form to C Cause form.
Merge branch 'functionality-refactoring' into develop