Add MethodFilter.groovy

Sample groovy script to filter requests based on methods.