allow ones/zeros to accept single integer shapes (plus tests)
need to also exclude tensorvariable arguments (and tests)
Merge pull request #1551 from jlowin/alloc_shape_fix

Minor change: tensor.ones and tensor.zeros can accept single integer arguments