Add support for custom analyzer, Fix #16

As described in #16, this is an attempt to add support for custom analyzer.
As I am not familiar with flask extension development, if there is anything wrong, feel free to tell me.