#520 fixing validation error on cancel task during edit
#520 removing code related to unused functionality
Fixed #539
Fixed #517
#539 added spec
Merge pull request #556 from pshivana/rails4_defect_fixes

Rails4 defect fixes