Enable automated testing with Python 3.4
fix defect https://github.com/beautify-web/js-beautify/issues/495#

- correct the call to the print_newline.
- add another condition to enable print space before in case of unary
operators
- port fix to python
- add test cases to fix
remove unneeded new line
Merge pull request #503 from ashamza/fix#495

Fix pre-increment and pre-decrement formatting issues (#495)
Fix #509, newline between [ function
Merge pull request #481 from frewsxcv/patch-1

Enable automated testing with Python 3.4
Merge remote-tracking branch 'upstream/master'