fix test reference errors

mbind is chain
id is I
rename 'fmap' to 'map'

leave 'fmap' as alias
remove empty, of, and fix mconcat

empty and of don't make sense point free in javascript, because they're
polymorphic in the return type, not an argument.

mconcat needs to take the empty thunk as a parameter in case of an
empty list.
style changes

lowercase objects that aren't constructors.
clean trailing whitespace.
consistent 2 space indentation.
update docs.