Building OpenCV 3.1.0 on macOS

Instructions for building OpenCV 3.1 on macOS, including contrib modules and a framework library