Improve accuracy of bytecode for table templates

Treat correctly array terms even when expressed like an hash entry.
Add specific test for zero based table literals