Merge pull request #5 from phishy/master

a non-broken pull request
refactored magic to separate method and added config params

moved view detection/creation logic into autoView() method
added 'createViews' and 'autoViews' Connection config toggle
tests now require li3-test bucket
test connection now requires username/password
tests now get flushed once before all tests
added preliminary code for bucket creation/deletion
native $viewOptions are now handled separately of $conditions