Changed ace to be able to load a file.
Changed json_exit to set the header. If there is a status value not
equal to zero, the http status is 400.
Changed ace to look for failures when loading a file.
Changed filestream to prefer file extension over fileinfo.