reorder some structs to reduce padding
reorder some more fields to reduce padding
pack add_torrent_params
pack fields in internal_file_entry, torrent_status and chained_buffer
fix initialization order warnings. pack peer_connection and torrent
merged changes from trunk