changing query selector to use metaStreamEvent outData. Adding ComplexAttribute to facilitate avg/sum/functions
commenting redundant code. Will remove after reviewing
refactoring
initialize afterWindowData if not initialized earlier
refactoring
moving construct tempDefinitionMap
method refactoring
method refactoring
refactored changes
Merge remote-tracking branch 'origin/master'

Conflicts:
	modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/QueryPartitioner.java