Remove biased shell signs

Not everybody uses bash, you know. Especially the people on *BSD, which you still listed as '$'
Merge pull request #136 from rmsrepliedtomeonce/patch-1

Remove biased shell signs
Update interface.c
re-added jetbrains .idea/ and netbeans nbproject/ to gitignore
Merge pull request #137 from koter84/feature-gitignore

re-added jetbrains .idea/ and netbeans nbproject/ to gitignore
Change type in message_action and message_media from int to unsigned.
Got into a situation where telegram would crash upon startup, since fetch_encrypted_message_file would end up being called with a message_media of type CODE_decrypted_message_media_document.
Fixed merge structures.c
fix to prev fix
added support for update_dc
deleted unused code