Session is not used for flow communications.

Plugin and hadoop_version parameters are passed through request parameters.
Helper method moved to util module.

Change-Id: Ie584bfb3823c8cbb6f00c53bd2253f4eb2103f31