Add pencil edit icon tapping which opens edit section

Also added:
- Way to have different links trigger different actions in JS
- Cleanup misunderstanding / stupidity of DOM regarding attributes

Change-Id: Ia1f28adf819273a9e59405ae76efe24811776111