added content-available to top-level structure, fixed generate_port for ...

added content-available to top-level structure, fixed generate_port for mojolicious >= 5, bumped version
If it's the number 1, iOS will start the background fetch process. 1 is the
only valid value.

Search for content-available:

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html


On Thu, Sep 11, 2014 at 2:02 PM, Jan Henning Thorsen <
notifications@github.com> wrote:

> In README:
>
> > @@ -98,8 +98,16 @@ METHODS
> >
> >          Default is "default".
> >
> > +    *   content_available
>
> Could you give me an example of which value this can hold? Is it any
> string, a bool, url...?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jhthorsen/mojo-apns/pull/3/files#r17445011>.
>