db_alias support and fixes for custom map/reduce output

To work:
```python
Person.objects.map_reduce(
       map_f=map_person,
       reduce_f=reduce_f,
       output={'reduce': 'family_map', 'db_alias': 'test2'})