Free up the memory of pruned species by deleting hidden references from TemplateReaction objects

Objgraph shows after pruning, the pruned species are still in the memory so not too much memory is retrieved. And it is because there're still some objects (mainly from TemplateReaction objects in reactionDict, see the pic below) referring to them. After deleting those objects, memory was eventually released.
![in function prune prunedspecies-7-objgraph-aftfpruned](https://cloud.githubusercontent.com/assets/2739496/4940825/2072c762-65de-11e4-94cf-c13d097bfeaa.jpg)