add support for getting issues by milestone and state

rework AppTest to work better for people other than kohsuke