Fixed IECore::Lookup for OS X.

I'm not sure why the compiler didn't like the templated constructor, but using boost::function instead fixes the problem and makes it more flexible anyway.
Merge pull request #150 from johnhaddon/lookupImprovement

Fixed IECore::Lookup for OS X.