Converted Euler rotations to Quaternions

Converted local Euler rotations to Quaternion based rotation to avoid
gimbal lock.
Merge pull request #521 from AndrewJo/master

Converted Camera's local rotations from Euler method to Quaternions