Fix is_callable with member pointers.

See #884
Removed invoke dependency on boost::mem_fn.
Added mem_fn implementation and tests