Merge pull request #51 from jstrimpel/master

implicitly set model id in model params
model params id setting fix and client cookie encoding bug
lib build [ci skip]