remove AfterSamplingListener since it is not useful.
reset the query results in particle filtering after every timestep.
fix null pointer in resultwriter
Merge pull request #321 from BayesianLogic/fix-pf-query-memory

improving memory efficiency of particle filter in answering temporal queries.