Content option on render

Add the possibility to use a content param while rendering docx. 

This allows the possibility to the user to not having to create a separate view if it's not needed. 

Also small bug fix when receiving nil or empty string as content for the word file