Add insert and replace methods

Both methods take the arguments `index`, `media`, `playNow`.  The
`insert` method adds the `media` to the playlist immediately preceeding
the specified `index`.  The `replace` method `insert`s the `media`, then
`remove`s the playlist entry that was previously at that position.