Fix filelib:wildcard/2 when 'Cwd' ends with a dot

In such case, filelib:wildcard/2 returned truncated results:

  1> file:set_cwd("/usr/lib/erlang/lib").
  ok
  2> filelib:wildcard("stdlib-*/ebin/*.app", filename:absname(".")).
  ["dlib-2.1/ebin/stdlib.app"]
remove unnecessary Cloneable and Serializable
remove unnecessary null pointer checks
removed unnecessary semicolons, imports, labels
remove unused variables
remove unnecessary syntax (casts)
make serialVersionUID fields private
remove warnings: @Override, switch fall-through
simplify 'if' statements
mark deprecated unused private constructor
rename field 'self' to 'localNode'

field 'OtpLocalNode self' was colliding with 'OtpSelf self' in
OtpConnection
rename OtpNode.Acceptor.port to acceptorPort

was colliding with OtpLocalNode.port
rename OtpNode.flags to connFlags

was colliding to AbstractNode.flags
remove warnings from OtpMD5
add 'break' statements to make compiler happy
renamed method parameters hiding fields
keep all method parameters final
handle warnings about potential null pointers
don't warn about some unused fields/variables
silence 'potential resource leak' warnings

OtpInputStream and OtoOutputStream don't need closing (they are
ByteArray*Streams)