Added pet_profiles.js. DRYed up template code.
Added ability to fetch pet profiles in json format. Fixed default field values for pet profile.