Pull request #941: CAS-14566
Merge in CASA/casa6 from CAS-14566 to master
* commit 'da4668cc1c4a8d5d5daa3bb3cf5df3aa12270f60':
Updated defintent task test with multiple stages in append
testing append changes
fixed index issue in append mode
fixed adding intents when it exists multiple times in the table
added test case for issue on ticket
fixed np.where dimensions
now always sets the new state ID for mode set