added kResolutionFixedHeight and kResolutionFixedWidth resolution policy

These new resolution policies will either ignore the width or height of the
specified design resolution size, but scale the ignored dimension, so it
matches the aspect ratio of the device.

Example:
A device with 854x480 pixels and a design resolution size set to 480x320
and the kResolutionFixedHeight policy, will create an internal canvas of
the size of 570x320px
If the device original size is 800x480 its internal size will be
534x320px
The height for both examples stays the same, the width is adjusted to match
the aspect ratio

Benefits:
- no distortions
- full canvas is usable, the visibility origin is 0/0
- I can use getWinSize() to place objects which is more intuitive
- for objects that should be placed at 0/0 I can use CGPointZero or 0/0 instead
  of the VisibilityRect methods, which is more readable
- using this method projects from the 1.x branch are probably much easier to
  port

Disadvantages:
- it is the developers responsibility to create the game code so that it
  supports multiple aspect ratios
fixed a bug that was causing http client to fail on mac os x with
semaphore error
Properly resets the tile's Y flipping

This bug caused many tiles to be Y flipped if only one tile was actually intended to be flipped.
fixed #1613:not reload resources on Android platform after return from background
Merge pull request #2384 from minggo/iss1613-reload-resource

fixed #1613:not reload resources on Android platform after return from background
Merge pull request #2380 from NatWeiss/patch-2

Properly resets the tile's Y flipping
Update AUTHORS
fixed #2059: cc.FileUtils.getInstance().getStringFromFile(filename) doesn't return a whole string.
Merge pull request #2385 from dumganhar/iss2059-js-getstring

fixed #2059: cc.FileUtils.getInstance().getStringFromFile(filename) doesn't return a whole string.
Merge pull request #2375 from billy1380/master

fix for issue #2366
fixed #2059: Fix complication errors on Android.
Merge pull request #2386 from dumganhar/master

fixed #2059: Fix complication errors on Android.
fixed #2060: Implementing support for cc.FileUtils.getInstance().getByteArrayFromFile(filename)
Merge pull request #2388 from dumganhar/master

fixed #2060: Implementing support for cc.FileUtils.getInstance().getByteArrayFromFile(filename)
fix for spaces when wrapping
Fixed setAccelerometerInterval signature in setAccelerometerIntervalJNI function.
Merge pull request #2394 from jotel/master

fixed #2061: Wrong type of argument signature is used in setAccelerometerIntervalJNI function.
Update AUTHORS
Merge pull request #2390 from scoyo/master

Fix for spaces at the beginning of wrapped lines
Update AUTHORS