add cli.php

Usage:
php cli.php 'Index/index?get1=foo&get2=bar' 'post1=1&post2=2'