Add appendFileSync function to nodejs.jsx

I have added [appendFileSync](http://nodejs.org/api/fs.html#fs_fs_appendfilesync_filename_data_options) functions. 
And i wrote some tests.
please review my code.