Merge pull request #19 from blackm00n/master

preserve image scale when using scaleByFactor: and scaleToFitSize:
Adjusted how the static library is built so that it can be imported like system libraries by using #import <NYXImagesKit/NYXImagesKit.h>.
Merge pull request #21 from justin/master

Improved static library importing.
add exifOrientationToiOSOrientation declaration for older Xcode
Fixed the retina issue with masking
Merge pull request #23 from ata-n/master

Fixed issue with image masking and retina displays
Add #import <UIKit/UIKit.h>
Merge pull request #24 from satococoa/master

Add #import <UIKit/UIKit.h>
Fixed wrong calculation of x coordinate for the cropping rect when using NYXCropModeBottomCenter cropping mode
Merge pull request #26 from wiracocha/master

x coordinate for NYXCropModeBottomCenter is not correct
Add explicit cast to fix #27
Merge pull request #28 from blackm00n/master

preserving orientation problem in scaleByFactor: method
Update build settings
Update build settings
Add two categories for rendering UIView / UIScrollView to UIImage
Update project settings
Merge pull request #30 from blackm00n/master

fixing rotation bug for images of non std orientation
Merge pull request #31 from blackm00n/master

Non standard orientations bugs in scaleToFillSize:
Cache raw data instead of UIImage object

Writing to the cache was done as the following:
- Create an UIImage then uses the saving category to perform the save
with the original image UTI.

Replaced by a single call to writeToFile: on the NSData object instead.
(see #18)

- Also removed the #pragma unused
If original image had no alpha channel, modified image won't either

Exception in the cases where the modification requires an alpha channel