updated for latest boost::type_index; changed include for singularity
Merge pull request #11 from snikulov/sync_with_type_index

updated for latest boost::type_index