Refactored session GetParameter/SetParameter API to make it more robust.

* plugin container is now evaluated on demand so we do not need to rebuilt it all the time.

R=amoser@google.com

Review URL: https://codereview.appspot.com/152830043