Added codecs to brat tests. Fixes #2
Elan parser now uses temporary index, works faster.