Merge pull request #3 from popcorn-official/dev-0.3

Dev 0.3
Merge pull request #5 from popcorn-official/dev-0.3

Dev 0.3
Merge pull request #6 from popcorn-official/dev-0.3

Dev 0.3
Merge pull request #158 from iNoX-/dev-0.3

Center show-list and fix movies centering
Work on settings page
Merge pull request #161 from sammuel86/dev-0.3

Work on settings page style
Change upload speed calculation if upload speed equals 0

The formula used to convert bytes per second to human readable
units uses Math.log(speed_upload), which is undefined
(or -Inifinity) when speed_upload equals zero. So don't use that
formula if speed_upload equals zero.
Merge pull request #162 from runeksvendsen/dev-0.3

Change upload speed calculation if upload speed equals 0
Added updated/:since on the DB

Now, we have a local DB who’ll sync every 24 hours with our endpoint.
On the first load we make a full DB sync.

TODO: Add a button in settings to force a refresh manually.
fixed some issues

like the episode list being seen behind the cover image and last episode don't appear on the minimal size window
better side line (now cover all the episodes list)
Fix issue with player

TODO: Fix trailer video drag. Actually its an iframe and look like the
canDragWindow function is not working. We need to make the trailer
window draggable. — Regular video control-bar is working fine now.
take the bar out
Started settings local database

Now we can create new settings, simply by adding a new field in
settings view. the key is the field name.
Ex: <input type=“text” name=“test_field” value=“brap”>

<%= test_field%> will return brap in the settings view (auto set to the
active modal with DB field value so we can easily generate what we
want.)

We can easily access any key from anywhere in the app by using:

`Database.getSetting({key: "test_field"}, cb);`
Little cleanup on settings view
Update settings global var

Based on @SlashmanX we have a global var accessible for settings. We
can use App.settings.var_name

Ex: App.settings.language
Add default value to settings

To get DB settings works properly we need to set default value
Update tvshows lib provider
Settings style
Merge remote-tracking branch 'upstream/dev-0.3' into dev-0.3