call wma_init/wma_deinit when wma is turned on/off. Also update notes.
added possibly useful "bookmark" comment from csoar
added wma hooks in agent init/reinit

* also reduced visibility for wma members that didn't need to be public
started adding more wma hooks into the main code
wma integration with rest of agent just about complete (untested)

* removed wma_remove_pref_o_set() because jsoar doesn't need to
explicitly clean up memory like that
implemented wma changes to print_wme
implemented wma command, minor fixes and tweaks

* unit tests run without crashing with wma turned on
* actual activation values are not yet correct
added wma param to watch command
fixed wma bug -- activations seem to be correct for default params now
put wma wme cleanup in do_buffered_wm_changes()

* in csoar this is in deallocate_wme, which doesn't exist in jsoar. It
is necessary to do this because it cleans up a bunch of data structures
in wma and prints stuff to the trace.
* also made minor optimization in the cleanup process
wma_params -> params, wma_stats -> stats
adding performance launcher
PerformanceTimer mods

* can specify how many runs to do
* moved launch to core
added experimental "--internal" flag to matches command that will print
out the node_id of the rete nodes for each condition

* should make it possible to see which nodes are shared across rules
* note that I'm using System.identityHashcode which does not actually
guarantee that these numbers are unique. But the chances of two nodes
having the same hashcode and the same tests is slim, so I'm not worried
about it for practical usage.
Merge branch 'master' into wma