remove some dead code
improve regex handling
allows whitespace around index for data binding
start filling in some hasMany support