Add more comments and fix playlist_splice.

If howMany is not specified, it means it is an item to add or undefined.
Fix the case when it is an item to add.