Check XAxis and YAxis for valid orientations on creation

Also standardize orientation strings as lowercase, to match D3.