when generating a full callstack from a global context, don't return a blank string
added db_disconnect & db_disconnect_all
moved cluster key building to a function
added db_ping()
Merge pull request #23 from straup/master

Update lib_features
typo fix
refactor of password hashing library:
* make it more obvious what's going on
* control use of bcrypt & auto-promotion via config
* die if bcrypt or hashing secret is missing (and is needed)
* fixed and tested auto-promotion
don't try to use bcrypt on travis with php 5.2 - it will fail
for future travis debugging, it's handy to see the entire environment
lrn2shell
i should just give up
this is bash syntax, not plain sh
worst thing about travis: have to push every one of these goddamn changes.
no way to test them without a public push.
i want to have my own offline travis vm. duh.
if we're not using bcrypt, we need to set the password secret