Set metadata before issuing video resize

When metadata is received from a client, make sure we
set the new meta data (which contains width and height data)
before issuing a resize.

Solves: #97
Added Gitter badge
Merge pull request #105 from gitter-badger/gitter-badge

Add a Gitter chat badge to README.md
README: Fixed gitter badge layout

Change-Id: I3de695a5d6ad97019337b210bb76b96a0c0c05c2
:lipstick: jslib indentation cleanup
Player: :lipstick: Indent error switch-case.
expose videoResize in javascript API
Destroy player
do not expose videoResize from my master branch
Revert "do not expose videoResize from my master branch"

This reverts commit 670de0c5208779fbb663fdfba768de12f868145a.
expose videoResize again...
rebase