updated tests to not manually delete models.  cyclus::Context now automatically does it
fixed deployinst cloning
fixed some memory errors in tests. There are still more errors
added parent=NULL default to batchreactor deploy method - to be consistent with cyclus deploy signatures
renamed initModuleMembers to InitFrom and made it chain through its superclasses
fixed tests to use new queryengine scoping for initfrom chains
changed all clone methods to use context-arg constructor
fixed query-scoping in InitFroms
fixed tests - required updates to the sample xml input strings
moved stack model to heap
Merge pull request #180 from rwcarlsen/api-cleanup

tests use new context's auto-delete of models
Merge branch 'det-tst' of https://github.com/gidden/cycamore into gidden-det-tst
dixed some documentation typos
checks for parent id == -1 now instead of p_id == agent_id
removes tmp files even on failure