bundle2 package: freeze/thaw base implementation

Create a builder class for MessageBundle. Create basic static factory methods
to create a builder, implement freeze() and thaw() where appropriate.