Moved self assignment for use in log message
Emit ready event after creating pieces, whether or not the torrent is already complete
Added require for path module, removed path variable in createFiles()
Merge pull request #5 from darsee/patch-1

Peers seeding when already complete and minor fixes