Fixed style problems.
Generate ssl cert earlier and add join field
Improve the AMI
Merge atnnn/ami into next

Review 730 by @mlucy

Issue #892
Merge branch 'next' into sam_style
Merge branch 'next' into sam_939_alt

Conflicts:
	src/serializer/log/extent_manager.cc