Added ability to pass flashError handler in options for create(…)

This should allow end-user to pass custom handler for flashError (I has such use case).