added support for compiling static objects to display list

Renderer finds out static objects and compile them to display list. This
new feature increases the frame rate by 50%~120% in some cases.