Activity 4 - Code simplification and adjustments

Simplification applied on classes FactoryConnection, ServiceTypeDAOTest
and Cart (from Livraria_ABC).