TAJO-1048: Missed use of session variables in GlobalPlanner.

Closes #146
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into TAJO-1049

Conflicts:
	tajo-core/src/main/java/org/apache/tajo/master/querymaster/SubQuery.java