add filtering handling to base report and base template

@jgeskens and @nielsvanoch can you please review?
Just making form class and pump your information using __init__()?