Better variable expansion in besh

A lot more types of variable expansion. Lua expansion $(( expr)) will run expr in an empty environment, and I implemented that weird table found [about here](http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_02).