Make the following changes
 - Add C implementations, doc and test cases for image resize/rotate
 - fix the bug in NEON version of image resize
 - add a header file for external macro definitions