Fix 1-tuple in cuda.local.array and cuda.shared.array
Print better error messages
Add unittest and MacroError; Fix typo
Merge pull request #789 from sklam/fix_cuda_one_tuple

Fix cuda one tuple