Merge pull request #53 from cbare/develop

update entity with same name and parent, make sure we get the right fileHandle in syn.get, and test updating existing permissions
Added greater support for session tokens for login.  Added some extra logic for other cases during login.
Added and refactored for syn.setendpoints method.
Added extra exception handling for login method.
Changed onweb method to use portalEndpoints.
Combined Session_File into the Config_File (automatically writes parts of it)
Missing some parenthesis
Added wiki-subpage to onweb()
Commented out some lines that relate to the synapse.query generator issue.  This is still in progress.
Merge pull request #54 from kaysoky/master

Session tokens and .setendpoints method
fixed bad synapse ID in README
add custom mimetype text/x-r for R source code
added to docstrings
SYNR-472: chunked file upload part 2