AUTO-467: Schedule policy update (Messed up) 

Please do not look at the diff. Its messed up. I'll create a separate PR.
 
When a schedule policy is updated, its corresponding entry in scaling_schedule table is also updated. 

Adding more tests.