iOS support added. Some OS X functionality needed to be hidden to compile
Update .gitignore to new standard