add export to functions

proposed fix to issue #10 

adds "export" flag (set to "none" by default so as not to change existing functionality)

options:
* export no functions (current default)
* all functions with documentation that includes "return"  
* all functions exported in NAMESPACE