added Collection insert function for arbitrary position and reimplemented appendRecord in via this function
reimplemented add and appendBlankRecord via insertRecord
use result of getAppendIndex instead of always appending at the end