Updated 'get_list' to have variable arguments. One can now pass nothing, a name,
a name/value pair, or a name/value/index. Added a 'append_index' method which
behaves just like 'append' except that it returns the newly created index.