rework summary attribute

*   write summary property in modern style
*   introduce get_summary which is memoizable, based on localsiteurl
*   introduce get_siteurl
Merge pull request #1361 from ingwinlu/rewritten_summary_2

Re-work summary attribute to be memoizable