Add sdb_queryf, fix sdb_alen, Use () for arrays, alength=(?)

Show features with sdb -f
Get length of array with (?)key
Add sdb_queryf() helper function
Use () instead of [] for array access
Fix sdb_alen and implement sdb_alength()