Generic functionality to use to use serializers and views with 'fields=' parameter

closes #35