Added rest test to also test the get settings' prefix option.
Closes #4140
The new internal get index settings api is more efficient when it comes to sending the index settings from the master to the client via the Also the get index settings support now all the indices options. Closes #4620