Cleaned up and made ucode detection more robust

Cleaned up and made detection more robust, vertex stride is now cached
too.
Moved ucode related code out of DLParser