Add filter parameter for getlogs

Used by providing the ID for the type you wish to pull. Split multiple
types with a comma. (e.g. ?filter=1,2,3)