1. Fixed a bug in Class Method: week_number_of_year(time=Time.now) which was returning incorrect week number of year in some instances.

2. Added validations in private instance method validate_object_state of Calendar class and added specs exercising these validations.