added link to nodes and geojson repr. to layer details
API node comments cleanup:

 * node_id and user_id determined automatically based on request settings (url and authenticated user)
 * code cleanup
 * updated tests