Added OpenCV license.
Some comments, format, etc
Made refine lvl an enum - no, std, adv.
Perfomance timing on all refine levels.
Removed c++11 dependancies.
OpenCV inlines, exports, wraps.
Various small fixes.