Added Dynamic Framework target

* Fixed deprecated NSCalendarUnit constants
* Fixed deprecated NSDateComponents methods usage
* Added a dynamic framework target