fixed memory leak, a quick performance test and a mail with ' added
Merge pull request #7 from ricardclau/master

Fixed ugly memory leak, added a mail with ' in tests and a performance test