Adding .gitignore, fixing installation bugs, adding int cast by default to graphcut.