Remove isIndexable and isFactorable.

Fix compilation with C++11
Use boost::shared_ptr for C++11 as well.

It was planned to use std::shared for C++11,
but it seems there is no sense as we use boost
anyway.
Drop Qt3 workaround