Placeholder views based on content, loading, error or empty states. A Swift 4 Conversion of https://github.com/aschuch/StatefulViewController