Fix potential hang on disconnected streams.

(Closes #7 and #29)
Changed API endpoint from 1 to 1.1. (1 is deprecated, but it is not clear when it will be retired yet. See https://dev.twitter.com/blog/api-v1-retirement-final-dates)
call pcntl_signal_dispatch in consume to make the script able to handle posix signals.
Merge pull request #34 from stratiator/master

call pcntl_signal_dispatch in consume to make the script able to handle posix signals
move up call pcntl_signal_dispatch above error logging to prevent raising an error on term signal
Merge pull request #35 from stratiator/master

move up call pcntl_signal_dispatch above error logging to prevent raising an error on term signal
Use all request parameters to create oauth_signature.

Requests with locations and count parameters failed because those parameters were not included in the signature.
Added Language Support to the Streaming Interface
Example Code added for en
Merge pull request #37 from bangpound/hotfix/sign-all-request-parameters

Use all request parameters to create oauth_signature.
Added Language filter with Oauth support
Example script added for oauth
Merge pull request #38 from hisankaran/master

Consuming specific language feed
Merge pull request #40 from markopavlovic/master

Adding OAuth to every example
small mistake in this example, fixed
Merge pull request #42 from markopavlovic/patch-1

small mistake in this example, fixed
Fixes for OauthPhirehose class to examples.
Merge pull request #44 from calvinnwq/master

Fixes for OauthPhirehose class to examples.
Update sample.php

fixed bug in sample.php
Merge pull request #45 from Darkflib/patch-1

Update sample.php to use correct method