Fix bucket name bug in wm_props.

Also use atom_to_binary/2 instead of l2b/a2l combo.
Add resource for bucket-type properties.
Add support for bucket types in JSON mapred.