DRILL-6883: Force reload of options after resetting parameter
DRILL-6883: Force reload of options after resetting parameter

If an update is initiated, the webpage loaded changes. Attempting a reset tries to reload this page, but it does not show the updated values from the back end.
This patch forces the reload of updated values by redirecting to /options page

Use AJAX call for Update and Reset

Eliminates the need for window.location=<redirectURL>

is Number check

Added comments to explain extraction

close apache/drill#1563

superbstreak/drill,apache/drill,apache/drill,vvysotskyi/drill,apache/drill,apache/drill,Ben-Zvi/drill,vvysotskyi/drill,arina-ielchiieva/drill,Ben-Zvi/drill,paul-rogers/drill,apache/drill,superbstreak/drill,mapr/incubator-drill,kkhatua/drill,mapr/incubator-drill,vvysotskyi/drill,arina-ielchiieva/drill,superbstreak/drill,Agirish/drill,paul-rogers/drill,vvysotskyi/drill,vdiravka/drill,kkhatua/drill,tgrall/drill,vdiravka/drill,mapr/incubator-drill,vdiravka/drill,Ben-Zvi/drill,vdiravka/drill,Agirish/drill,paul-rogers/drill,Agirish/drill,Ben-Zvi/drill,kkhatua/drill,apache/drill,paul-rogers/drill,paul-rogers/drill,superbstreak/drill,arina-ielchiieva/drill,kkhatua/drill,superbstreak/drill,Ben-Zvi/drill,Agirish/drill,Agirish/drill,kkhatua/drill,johnnywale/drill,johnnywale/drill,superbstreak/drill,arina-ielchiieva/drill,vvysotskyi/drill,tgrall/drill,arina-ielchiieva/drill,johnnywale/drill,vvysotskyi/drill,arina-ielchiieva/drill,tgrall/drill,tgrall/drill,Ben-Zvi/drill,johnnywale/drill,mapr/incubator-drill,paul-rogers/drill,tgrall/drill,mapr/incubator-drill,johnnywale/drill,Agirish/drill,mapr/incubator-drill,kkhatua/drill,vdiravka/drill