VTK5: Added support for C++11 mode and some optional dependencies.

* Plus some additional tweaks.

Closes #278.

Signed-off-by: Xiyue Deng <manphiz@gmail.com>