C++11 lambda functions can now be used as task functions.
- Added a type trait to detect functors via result_type typedef or operator().
- MADNESS result_of now extract the result of functors if C++11 is supported.
Comment out some unused variables and functions.
Removed superfluous white spaces.
Merge branch 'master' of https://github.com/m-a-d-n-e-s-s/madness