fixed code indentation in resty.core.hash.
updated ngx.sha1_bin to reflect recent changes in ngx_lua.
feature: implemented ngx.encode_base64 and ngx.decode_base64 in the "resty.core.base64" module.