Fixed bugs for grounding vars via selecting values by Pattern Matching
Fixed a bug for cloning a state .
fixed bugs in checking state in temporary state list
Fixed a bug for get the current real variable value from a state
Fixed bugs for updating new variable bindings.
Fixed the logic order of checking precondition states and create effect states.
Fixed a bug for judging if one state is satisfied a goal.
Fixed getLatestEvaluationLink.
Fixed checking a state value in real time by checking the EvaluationLinks in Atomspace.
Fixed a bug in adding planning rule effect indexes.
Fixed the weird bug in adding indexes for all planning rules.
Merge branch 'master' of https://github.com/opencog/opencog into debugplanner

Conflicts:
	opencog/embodiment/Control/OperationalAvatarController/Inquery.cc
Merge pull request #281 from shujingke/debugplanner

Debugplanner
Merge branch 'master' into doxydoc