Prepare release 0.5.0

This commit also upgrades waf to version 2.0.6

Change-Id: I13fa30b1ae405bb2a2b43aa124b1dd8ca701ddea
diff --git a/.gitignore b/.gitignore
index fc3231c..f34d89d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,14 +1,29 @@
-# Emacs temp files
+# Emacs
 *~
+\#*\#
+/.emacs.desktop
+/.emacs.desktop.lock
+*.elc
+.\#*
 
-# Mac OSX
-.DS_*
+# Visual Studio Code
+.vscode/
 
-# waf build system
-.waf-1*
-.waf3-*
-.lock*
-build/
+# macOS
+.DS_Store
+.AppleDouble
+.LSOverride
+._*
+
+# Waf build system
+/build/
+.waf-*-*/
+.waf3-*-*/
+.lock-waf*
 
 # Compiled python code
-**/*.pyc
+__pycache__/
+*.py[cod]
+
+# Other
+/VERSION
\ No newline at end of file