Fix some issues

- Autoloading not working due to missing autoload config in composer.json (thanks to zer0c14)
- Paragraph style leaking into tables because the paragraph tag is not closed before starting a table
- Image file handlers are not closed causing errors when using temp images that are deleting right after generating an rtf file.