fix license
add mini_support
add Request.instance so that test can get a reference to the controller