Fixed javascript warnings/lint errors
Fix self.currentTime not being properly initialized, breaking seek when playing from position 0
More javascript coding standards fixes
Added device.getStatus call which is used to update currentTime just before seeking in the video
Fix: Moved player.seek call into getStatus callback
Fixed indentation mismatch
Removed self.startedTime and self.timePosition.
Consistent use of newlines after setting self in functions
Merge pull request #8 from ddaf/master

Fixed seek, improved its implementation and cleaned up, kudos to @ddaf.