Update request_handler.php

Added function execute_array() which parses JSON converted arrays and
executes function calls for 'block' mode functionality.