1.8 CMS API - get api/library type Array

Being able to search the library via the API for multiple types at once can be useful when searching for media. Currently you can only search for one type of media at a time.

We would also like to be able to search by duration, and fileSize. (>fileSize && <fileSize)