Cleaned up hassle.py, fixed map bug in view_user

- Rearranged functions to make more sense in hassle.py
- Use fetchall() to return data instead of returning resultproxy object
- Removed map references in view_user