Fix issue #6 Support Customized containerType

Signed-off-by: Janet Jin <janet.jin@turn.com>

Fix the encoding problem

Signed-off-by: Janet Jin <janet.jin@turn.com>

Changed according to code review
Signed-off-by: Janet Jin <janet.jin@turn.com>

Change according to comments 2

Signed-off-by: Janet Jin <janet.jin@turn.com>
Merge branch 'personal/yjin/issue-6' of https://github.com/turn/select2 into personal/yjin/issue-6