Update .gitignore
Added git ignore

I added rules to the ignore file that should remove the errors we get
when importing. If not then revert to 0bbad21
Filterable posts

Wrote endpoint method and frontend code to filter posts by type and date