implement []= operator in YCP::Term

to allow direct assignment to an index
Merge pull request #21 from lslezak/term_index

implement []= operator in YCP::Term