Allow buildables to be rotated along all axis, similiar to missiles.

This crashes inside QVMs. The crash has been introduced first in 96c7019.
Use a preallocated ent structure to avoid alignment issues on QVM.