rocket: move some duplicated code into a separate function.
Optimise rocket emoticon handling.
Have RocketCompiledGeometry free its data in its destructor.
In C++, comparison results are of type bool. Explicitly take advantage of this.