Added ofDirectory canRead/Write/Execute functions. Fixed #1669

Hello, this completes the missing methods in ofDirectory.