Update Lisa and Terasort script to support runtime VM config

As Terasort needs more RAMs to run, so adding/update script to support
lisa run pre-start config scripts.