exposed ucs2encode() + allowed return of codepoint as array from utf8dec...

Added a couple things that I needed for a project I'm working on. Maybe useful for the core?