Add support for needed real life features

This pull request adds two things.
1. Support for sending data without limiting to the "msg" field which is not really needed.
2. Support sending bulk messages on a queryset. Sending to an unlimited amount of objects in an efficient way.

These are needed in order to use this framework, as they are both very common real-life use cases.

Note: if you wish, this merge commit can be dropped, and you can just use the 2 commits themselves, as they are not tightly tied.
I agree with your last two comments.
We should keep send message with the automatic type check and then use
send_message as well.
When I wrote that, I wrote it as a deprecation path, however your
suggestion is better (as previously agreed).
On 11 Aug 2014 08:25, "Adam Bogdał" <notifications@github.com> wrote:

> In gcm/models.py:
>
> >
> >  class Device(AbstractDevice):
> >      pass
> > +
> > +
> > +class DeviceQuerySet(models.query.QuerySet):
> > +    def send_data(self, data, collapse_key="data"):
>
> [image: :+1:] We use message word everywhere, so maybe we should use it
> here?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/bogdal/django-gcm/pull/15/files#r16040168>.
>