Use immutable collections for user options

Alternative to https://github.com/zanata/zanata-client/pull/17