Add support for Asynchronous Module Definition (AMD) API

See http://requirejs.org/docs/whyamd.html
Merge pull request #274 from sapienlab/master

Add support for Asynchronous Module Definition (AMD) API
Minimal indenting for expressions and arrays

Closes #281
Allow newline preservation for function declarations
Tests for newline preservation at close of expression

Closes #239
Tweaks to recent commits
Python parity for features
Fix typo in test