Add api_functions.txt to MANIFEST.in
Add dist and MANIFEST to .gitignore for source builds
Merge branch 'issue_282' into 2.1