added tests for seekPercent API, seekTime API, small refactor
added tests for seekPercent API, seekTime API, small refactor

sashaegorov/foundation-player,sashaegorov/foundation-player,sashaegorov/foundation-player