Unique Index Bug Fix

The UNIQUE index option would always set an index type to UNIQUE whether true or false:

Either
'unique' => true
or
'unique' => false

would both result in the index being UNIQUE. This fixes that.

Unique indexes option only had one setting,
This fixes that, allowing you to set a unique index option as FALSE or TRUE.

Signed-off-by: Jonathan Galpin <jonathan@iqzero.net>