Added duration getter to AVPlayer

Added duration getter for AVPlayer e.g.:

```javascript
this.audio = new plask.AVPlayer();
this.audio.appendFile('test.mp3');
this.audio.play();
console.log(this.audio.duration());
```