Make border visibility configurable 

The new setBorderVisibility() method allows to determine
which of the borders (left, right, top, bottom, inner) shall be shown.

Based on PR #4.