Add permalinks_enabled data to API index

Can be used to determine what URL structure should be used, currently if you make calls using pretty permalink format it 404's when site does not have it enabled.