headers property as function and success method

1. Success method must provide «success» and «xhr» arguments for
backbone model and collection method «parse».

2. headers property of model config now can be function.