Simplified quat.fromMat3

I noticed this when I was going through the code that this method was using a rather complicated technique to compute mod 3 arithmetic using look up tables.  Performance wise this approach is much faster, and the code is also simpler since it doesn't need to do some browser specific logic to select between Int8Array and Array.