added NSDictionary and NSSet extensions and added some helper functions to NSDate