added style param to to get_thumbnail

You can now pass cover stretch or contain as style. The stylenames are
similar as in css background