Added consultarEspecialidades to DBManager. Updated ThriftException messages.