Allow the left and right to display text or an image

This may not be best way to achieve this but it works well for me. Ideally the left would have the same option but I haven't had a chance to do that yet. The setRightLabelText function is used for changing the text after creating the navigation bar, for example to change the text from 'Edit' to 'Done'.